package com.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description: 评论实体类
 * @Date: 2022/11/15 16:11
 * @Author: SinkDream
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private Long id;
    private Long userId;
    private String content;
    private Long likes;
    private Date createTime;
    private Long articleId;
    private Long parentCommentId;
    private int state;
}
